package com.lu.statistics.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lu.statistics.entity.MtDishCategories;
import com.lu.statistics.entity.front.response.DishCategoriesResponse;

import java.util.List;

public interface DishCategoriesService extends IService<MtDishCategories> {

    /**
     * 查询菜品分类列表
     *
     * @param isAvailable
     * @return
     */
    IPage<MtDishCategories> queryDishDishCategories(String isAvailable,int pageNo, int pageSize);
    /**
     * 查询菜品分类信息
     */
    MtDishCategories queryDishCategoriesById(int id);
    /**
     * 查询菜品分类信息
     *
     * @param id
     * @return
     */
    DishCategoriesResponse queryDishCategoriesById(int id, int pageNo, int pageSize);
}
